package com.demo.es.service.constant;

/**
 * @author 李炯 es索引常量类
 * @description: DOTO
 * @program: elastic-demo
 * @date 2020/06/01
 **/
public final class ElasticSearchConstant {

    /**
     * 私有化构造方法,防止被实例
     */
    private ElasticSearchConstant(){

    }

    /**
     * 用户类索引
     */
    public static final String INDEX_USER = "user";

    /**
     * 商品类索引
     */
    public static final String INDEX_GOODES = "goods";

    /**
     * 索引类型,es即将舍弃,所以固定类型
     */
    public static final String INDEX_FINAL_TYPE = "doc";
}
